\section{commands/cal.c File Reference}
\label{cal_8c}\index{commands/cal.c@{commands/cal.c}}
{\ttfamily \#include $<$stdio.h$>$}\par
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define {\bf TRUE}~1
\item 
\#define {\bf FALSE}~0
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int {\bf determinedaycode} (int year)
\item 
int {\bf determineleapyear} (int year)
\item 
void {\bf calendar} (int year, int daycode)
\item 
int {\bf main} (int argc, char $\ast$argv)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
int {\bf days\_\-in\_\-month} [$\,$] = \{0,31,28,31,30,31,30,31,31,30,31,30,31\}
\item 
char $\ast$ {\bf months} [$\,$]
\end{DoxyCompactItemize}


\subsection{Define Documentation}
\index{cal.c@{cal.c}!FALSE@{FALSE}}
\index{FALSE@{FALSE}!cal.c@{cal.c}}
\subsubsection[{FALSE}]{\setlength{\rightskip}{0pt plus 5cm}\#define FALSE~0}\label{cal_8c_aa93f0eb578d23995850d61f7d61c55c1}


Definition at line 5 of file cal.c.

\index{cal.c@{cal.c}!TRUE@{TRUE}}
\index{TRUE@{TRUE}!cal.c@{cal.c}}
\subsubsection[{TRUE}]{\setlength{\rightskip}{0pt plus 5cm}\#define TRUE~1}\label{cal_8c_aa8cecfc5c5c054d2875c03e77b7be15d}


Definition at line 4 of file cal.c.



\subsection{Function Documentation}
\index{cal.c@{cal.c}!calendar@{calendar}}
\index{calendar@{calendar}!cal.c@{cal.c}}
\subsubsection[{calendar}]{\setlength{\rightskip}{0pt plus 5cm}void calendar (int {\em year}, \/  int {\em daycode})}\label{cal_8c_a97ea32ae9f49a94f9a633020a924341c}


Definition at line 51 of file cal.c.

\index{cal.c@{cal.c}!determinedaycode@{determinedaycode}}
\index{determinedaycode@{determinedaycode}!cal.c@{cal.c}}
\subsubsection[{determinedaycode}]{\setlength{\rightskip}{0pt plus 5cm}int determinedaycode (int {\em year})}\label{cal_8c_a6b76896879d11c767b0cfca628c4591c}


Definition at line 25 of file cal.c.

\index{cal.c@{cal.c}!determineleapyear@{determineleapyear}}
\index{determineleapyear@{determineleapyear}!cal.c@{cal.c}}
\subsubsection[{determineleapyear}]{\setlength{\rightskip}{0pt plus 5cm}int determineleapyear (int {\em year})}\label{cal_8c_a576624b07ee30f4b1863380f5372f622}


Definition at line 37 of file cal.c.

\index{cal.c@{cal.c}!main@{main}}
\index{main@{main}!cal.c@{cal.c}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, \/  char $\ast$ {\em argv})}\label{cal_8c_acb1b98fe4b4002de5d1321df345bb172}


Definition at line 81 of file cal.c.



\subsection{Variable Documentation}
\index{cal.c@{cal.c}!days\_\-in\_\-month@{days\_\-in\_\-month}}
\index{days\_\-in\_\-month@{days\_\-in\_\-month}!cal.c@{cal.c}}
\subsubsection[{days\_\-in\_\-month}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf days\_\-in\_\-month}[$\,$] = \{0,31,28,31,30,31,30,31,31,30,31,30,31\}}\label{cal_8c_aeb7a5fa5e4ed1e40440c1eaf4cbc06c1}


Definition at line 7 of file cal.c.

\index{cal.c@{cal.c}!months@{months}}
\index{months@{months}!cal.c@{cal.c}}
\subsubsection[{months}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf months}[$\,$]}\label{cal_8c_a9878e6d5a52b0b77dd7857ae80601910}
{\bfseries Initial value:}
\begin{DoxyCode}

{
        " ",
        "\n\n\nJanuary",
        "\n\n\nFebruary",
        "\n\n\nMarch",
        "\n\n\nApril",
        "\n\n\nMay",
        "\n\n\nJune",
        "\n\n\nJuly",
        "\n\n\nAugust",
        "\n\n\nSeptember",
        "\n\n\nOctober",
        "\n\n\nNovember",
        "\n\n\nDecember"
}
\end{DoxyCode}


Definition at line 8 of file cal.c.

